package com.chainzouzou.Java_Programming_A;

import java.util.Scanner;

public class bct01 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        while (true){
            int a = sc.nextInt();
            int b = sc.nextInt();
            if(Math.abs(a) > 1000){
                System.out.println("|a|>1000");
            }else if(Math.abs(a) <= 1000){
                System.out.println(a+b);
            }

        }
    }
}
